home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
cranium_turret.gsh
< prev
next >
Wrap
Text File
|
2000-09-09
|
1KB
|
50 lines
// defines Turret
////////////////////////////////////////////////////////////////////////////////////
// start wrapper - prevent multiple inclusions or recursive inclusions
//(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
#ifndef INCLUDED_CRANIUM_TURRET_GSH
#define INCLUDED_CRANIUM_TURRET_GSH
#include "lasers.gsh"
#include "defaults.gsh"
////////////////////////////////////////////////////////////////////////////////////
hierarchy Hcy_Cranium_Turret
{
file "units\cranium turret.RIF"
name "Cranium Turret"
hotspot "Dum Flash"
}
character Chr_Cranium_Turret : Chr_DefaultBaddie
{
turning speed 0.25
walking speed 0 // doesn't move
weapon enemy laser weak
strength 6 // one shot and it's destroyed
aim 0 // spot on!
sight angle 90 // in degrees
sight range 15 // in metres
hearing range 22 // in metres
aggression 1 // from 0 to 1
gun yaw angle 45 // in degrees
elevation angle 45 // in degrees
can turn no // can only use gun yaw
}
role Rol_Cranium_Turret : Rol_DefaultRobot
{
shape Hcy_Cranium_Turret
character Chr_Cranium_Turret
identifier "Cranium_Turret"
}
////////////////////////////////////////////////////////////////////////////////////
// end wrapper - for preventing multiple or recursive inclusions
#endif // !INCLUDED_CRANIUM_TURRET_GSH